<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title><?php
echo $this->title;
?></title>
<?php
if ($this->description) {
    $desc = $this->description;
} else {
    $desc = "iLOVE is all about photography, fashion, music, lifestyle and trends. 
	We present you talents, newcomers and professionals from all over the world. 
	International online magazine.";
}
?>
<meta content="<?php echo $desc; ?>" name="description">
<?php
if ($this->keywords) {
    $kwd = $this->keywords;
} else {
    $kwd = "iLOVE, magazine, photography, illustration, design, music, video, interview, events, shop";
}
?>
<meta content="<?php echo $kwd; ?>" name="keywords">
<!-- styles -->
<!-- 
include global homepage ilove style footer
-->
<?php
if (APPLICATION_ENV == 'production' && ! APPLICATION_DEBUG) {
    ?>
<link rel="stylesheet" href="<?php echo CSS_MIN_PATH; ?>/main.css" />
<?php
} else {
    ?>
<link rel="stylesheet"
	href="<?php
    echo CSS_SOURCE_PATH;
    ?>/global.css" />
<link rel="stylesheet"
	href="<?php
    echo CSS_SOURCE_PATH;
    ?>/homepage.css" />
<link media="screen" type="text/css"
	href="<?php
    echo CSS_SOURCE_PATH;
    ?>/ilove.css"
	rel="stylesheet">
<link media="screen" type="text/css"
	href="<?php
    echo CSS_SOURCE_PATH;
    ?>/style.css"
	rel="stylesheet">
<link media="screen" type="text/css"
	href="<?php echo CSS_SOURCE_PATH;?>/footer.css" rel="stylesheet">
<?php
}

if (CDN_SWITCH) {
    ?>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js"></script>
<?php
} else {
    ?>
<script
	src="<?php
    echo APPLICATION_PUBLIC;
    ?>/js/base/jquery-1.8.3.min.js"></script>
<?php
}
?>
<style type="text/css">
body {
	background-attachment: fixed;
	background-position: top center;
}
</style>
</head>
<head>
</head>
<?php
$otherPagesTable = Zend_Registry::get('database')->page;
$otherPagesInfo = $this->getOtherPages();
?>
<body class="_homepage ">
	<div class="site g-full">
		<header class="siteHeader clearfix">
			<div class="headerBranding clearfix">
				<div class="iloveLogo">
					<img
						src="<?php
    echo APPLICATION_PUBLIC;
    ?>/images/iLOVElogo.png"
						title="iLOVE" alt="iLOVE" width="293" height="90" />
				</div>
			</div>
			<nav class="siteNavigation">
				<ul class="navList clearfix">
					<li class="navItem first"><a class="navLink"
						href="<?php
    echo APPLICATION_URL;
    ?>/" title="主页">HOME</a></li>
					<li class="navItem" style="width: 108px;"><a class="navLink"
						href="<?php
    echo APPLICATION_URL;
    ?>/magazine" title="杂志">MAGAZINE</a></li>
					<li id="vision" class="navItem" style="width: 112px;"><a class="navLink"
						href="javascript:void(0);"
						title="视觉">VISION</a></li>
					<li class="navItem" style="width: 108px;"><a class="navLink"
						href="<?php
    echo APPLICATION_URL;
    ?>/music" title="音乐">MUSIC</a></li>
					<li class="navItem" style="width: 108px;"><a class="navLink"
						href="<?php
    echo APPLICATION_URL;
    ?>/video" title="视频">VIDEO</a></li>
					<li class="navItem" style="width: 108px;"><a class="navLink"
						href="<?php
    echo APPLICATION_URL;
    ?>/interview" title="采访">INTERVIEW</a></li>
					<li class="navItem" style="width: 112px;"><a class="navLink"
						href="<?php
    echo APPLICATION_URL;
    ?>/events" title="活动">EVENTS</a></li>
					<li class="navItem" style="width: 108px;"><a class="navLink"
						href="#" title="店">SHOP</a></li>
					<?php
    $page1 = $this->dealOtherPage($otherPagesInfo[0]);
    ?>
					<li class="navItem last"><a class="navLink"
						href="<?php echo $page1['href']; ?>"
						title="<?php echo $page1[$otherPagesTable->name]; ?>"><?php echo $page1[$otherPagesTable->name]; ?></a>
					</li>
				</ul>
				<ul style="display:none;" id="subMenu" class="navList clearfix">
					<li class="navItem2" style="width: 108px;"><a class="navLink" href="<?php echo APPLICATION_URL;?>/photography" title="摄影">photography</a></li>
					<li class="navItem2" style="width: 108px;"><a class="navLink" href="<?php echo APPLICATION_URL;?>/illustration" title="插画">illustration</a></li>
					<li class="navItem2" style="width: 108px;"><a class="navLink" href="<?php echo APPLICATION_URL;?>/design" title="设计">design</a></li>
				</ul>
			</nav>
		</header>
		<div class="clear"></div>